#ifndef VM_SWAP_H
#define VM_SWAP_H

#include "devices/block.h"
#include "threads/pte.h"
#include "threads/malloc.h"
#include "threads/palloc.h"
#include "filesys/inode.h"
#include "filesys/filesys.h"
#include "threads/thread.h"
#include "userprog/exception.h"

struct block *read_device;
bool swap_init (void);
bool swap_in (struct frame_struct *);
bool swap_out (struct frame_struct *);
#endif
